package cn.pupil.design.impl;

import cn.pupil.design.Role;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


import java.util.Map;

/**
 * @Description: 教师，功能没有具体实现
 * @Author: pupil
 * @Date: 2024/06/26 下午 11:31
 */
public class Teacher implements Role {

    private Logger logger = LoggerFactory.getLogger(Teacher.class);


    @Override
    public String scoreInquiry(long userId) {
        logger.info("学生{}：成绩是....",userId);
        return null;
    }

    @Override
    public void gradeUpload(long userId, Map<String, Double> grades) {
        logger.info("学生{}：成绩上传为{}",userId,grades);
    }


    @Override
    public void teacherManagement(long teacherId) {
        // 无法实现该功能
    }

}
